package logic

import (
	"context"
	"hrt/internal/common"

	"hrt/internal/svc"
	"hrt/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type GetLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLogic {
	return &GetLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *GetLogic) Get(req *types.GetReq) (resp *types.GetResp, err error) {
	httpRequest := common.GetHttpRequestFromCtx(l.ctx)
	logx.WithContext(l.ctx).Infof("[批量发送短信请求原始数据]:%s", httpRequest.AllMessage)

	return
}
